﻿@model Entities.FilterOperations
<script src="@Url.Content("~/Scripts/FileTypesModal.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/HostsModal.js")" type="text/javascript"></script>
<script type="text/javascript">
    $(document).ready(function () {
        $('.date').datepicker({
         dateFormat: "mm/dd/yy" ,
         maxDate: '0'
     });
    });
  
</script>
<table width="85%" border="0" align="center" cellpadding="0" cellspacing="1">
    <tr>
        <td class="formtit">
            Start Date
        </td>
    </tr>
    <tr>
        <td>@Html.TextBoxFor(m => m.StartDate, new { @class = "date" })
        </td>
    </tr>
    <tr>
        <td class="formtit">
            End Date
        </td>
    </tr>
    <tr>
        <td>@Html.TextBoxFor(m => m.EndDate, new { @class = "date" })
        </td>
    </tr>
    <tr>
        <td class="formtit">
            User
        </td>
    </tr>
    <tr>
        <td>@Html.TextBoxFor(m => m.User)
        </td>
    </tr>
    <tr>
        <td class="formtit">
            File Type
        </td>
    </tr>
    <tr>
        <td>@Html.TextBoxFor(m => m.FileType)
        @Html.ActionLink("Search File Types", MVC.Filters.OpenFileTypesDialog(), new { @id = "btnSearchFileTypes", @class = "Button" })
            <div id="fileTypesDialog" title="File Types">
            </div>
        </td>
    </tr>
    <tr>
        <td class="formtit">
            File Name
        </td>
    </tr>
    <tr>
        <td>@Html.TextBoxFor(m => m.FileName)
        </td>
    </tr>
    <tr>
        <td class="formtit">
            Host
        </td>
    </tr>
    <tr>
        <td>@Html.TextBoxFor(m => m.Host)
        <div id="HostsDialog" title="Hosts">
            </div>
        </td>
    </tr>
    <tr>
        <td align="right">
            <input type="submit" value="Search" />
        </td>
    </tr>
</table>
<br />
